package com.qcby.llmtchstd.dao;

import com.qcby.llmtchstd.entity.Exam;
import com.qcby.llmtchstd.entity.IfNotExam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface StudentExamDao {
     List<Exam> selectAll();
     List<Exam> selectStudent(int id);
     Exam selectOne(int id);

     int save(String answer, int examId, int studentId,int score);

     IfNotExam ifNot(int examId, int studentId);

     int insertOne(int examId, int studentId);
}
